﻿<%@ Page Language="C#" MasterPageFile="~/KhachHang/MasterPageKH.master" AutoEventWireup="true" CodeFile="Muagiohang.aspx.cs" Inherits="KhachHang_Muagiohang" Title="Untitled Page" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <div align="left">
<img src="../KhachHang/images/nen/scart_r.jpg" alt="" />Giỏ hàng của bạn
</div>
<div align="center" style="color: #0000ff">
<asp:Repeater ID="rp_gio_hang" runat="server" OnItemDataBound="rp_gio_hang_ItemDataBound" >
<HeaderTemplate>
    <table>
        <tr>
            <td>Hình ảnh</td>
            <td>Sản phẩm</td>
            <td>Giá</td>
            <td>Số lượng</td>
            <td>Thành tiền</td>
        </tr>
   
</HeaderTemplate>
<ItemTemplate>
    
    <tr>
    <td><img src="Website/Admin/Photos/Thumb/<%#Eval("Image") %>" alt="" title="" /></td>
    <td>
        <%#Eval("Name") %>
        <asp:HiddenField ID="hf_id" Value='<%#Eval("IDSanPham") %>' runat="server" />
    </td>
    <td>
        <%#Eval("Gia") %> VNĐ
    </td>
    <td>
        <asp:TextBox ID="txt_sl" Text='<%#Eval("SoLuong") %>' runat="server"></asp:TextBox>
    </td>
    <td>
        <asp:Literal ID="lit_tt" runat="server"></asp:Literal> VNĐ
    </td>
    </tr>
    
</ItemTemplate>
</asp:Repeater>
<table style="width: 332px; height: 82px">
    <tr>
        <td colspan="4">TOTAL:</td>
        <td>
            <asp:Literal ID="lit_tong_tien" runat="server"></asp:Literal> VNĐ
        </td>
    </tr>
    <tr>
        <td colspan="4">
            <asp:LinkButton ID="lbt_Update" runat="server" Text="Chỉnh sửa" OnClick="lbt_Update_Click"></asp:LinkButton>
        </td>
    </tr>
</table>
</div>
        <a id="A1" href="Default.aspx" runat="server">Tiếp tục</a>
 <a href="DatHang.aspx" runat="server" id="a_order">Đặt hàng</a>
</asp:Content>

